@charset "utf-8";
/**
 * Created by kroyo on 2018/03/12
 * account-infor.html  账户信息 页面样式
 */


@import 'common/mixincommon';



//1.账户信息
.content-item{
    margin-top: 10px;
    .itemdata{
        margin: 20px 0;
    }
    .accounttext{
        font-size: 0;
        span{
            color: $s3;
            font-size: 14px;
            line-height: 30px;
        }
        .plabel{
            color: $s6;
            margin-right: 100px;
        }
    }
}




//2.联系人
//2.1添加联系人按钮

//2.2联系人列表样式
.link-item{
    position: relative;
    width: 100%;
    border: 1px solid $borcolor;
    @include borradius(4px);
    padding: 24px 30px;
    margin-bottom: 20px;
    //联系人信息显示区域
    .item{
        line-height: 15px;
        color: $s3;
        font-size: 14px;
        margin-bottom: 20px;
        .iconfont{
            font-size: 14px;
            color: $sc;
            margin-right: 10px;
        }
        .icon-icon-phone{
            font-size: 16px;
            margin-right: 12px;
        }
        //用户名
        .name{
            font-size: 16px;
        }
        //职位
        .position{
            display: inline-block;
            height: 24px;
            line-height: 22px;
            border: 1px solid $borcolor;
            @include borradius(12px);
            font-size: 14px;
            padding: 0 10px;
            margin-left: 10px;
        }
        &:last-of-type{
            margin-bottom: 0;
        }
        //相关信息为空时 字体颜色
        &.nodata{
            color: $s9;
        }
    }
    //解绑微信
    .unbindbtn{
        color: $yelow;
        font-size: 14px;
        margin-left: 10px;
        cursor: pointer;
        @include transitions(.4s);
        &:hover{
            color: rgba(254,160,3,.6);
        }
    }
    //绑定微信
    .bindbtn{
        color: $acolor;
        font-size: 14px;
        margin-left: 10px;
        cursor: pointer;
        @include transitions(.4s);
        &:hover{
            color: rgba(0,160,2333,.6);
        }
    }
    //编辑区域
    .edit-wrapper{
        position: absolute;
        top: 0;
        right: 30px;
        height: 100%;
        padding: 24px 0;
        .btn{
            display: block;
        }
        .iconfont{
            position: absolute;
            right: 0;
            bottom: 24px;
            color: $s9;
            font-size: 14px;
            cursor: pointer;
            @include transitions(.4s);
            &:hover{
                color: $s3;
            }
        }
        .icon-icon-edit{
            right: 44px;
        }
    }
}
//默认联系人
.link-item.active{
    &:after{
        position: absolute;
        top: -1px;
        right: -1px;
        display: block;
        content: '';
        width: 60px;
        height: 60px;
        background: url(../img/infor/link-active.jpg.png) no-repeat center;
    }
    .edit-wrapper .btn{
        display: none;
    }
}






//弹窗
.content-form{
    padding: 30px;
}







//微信二维码弹窗
.weichat-wrap{
    // 垂直水平居中
    position: absolute;
    top: 0;
    left: 0;
    right:0;
    bottom: 0;
    margin:auto;
    width: 400px;
    height: 420px;
    background: #fff;
    padding:40px 50px 50px;
    color: #48576a;
    text-align: center;
    h4{
        font-size: 16px;
    }
    .first{
        margin-bottom: 10px;
    }
    div{
        width: 100%;
        height: 300px;
        overflow: hidden;
    }
    .img-wrap{
        position: relative;
        .shade-div{
            position: absolute;
            top: 0;
            left: 0;
            display: none;
            content: '';
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,.8);
            font-size: 16px;
            line-height: 40px;
            color: #ffffff;
            text-align: center;
            padding: 100px 0;
        }
    }
    img{
        width: 300px;
        height: 300px;
    }
}